#include "lightclass.h"


void LightClass::SetDiffuseColor(float red, float green, float blue, float alpha)
{
	m_diffuseColor = D3DXVECTOR4(red, green, blue, alpha);
	return;
}

void LightClass::SetAmbientColor(float red, float green, float blue, float alpha)
{
	m_ambientColor = D3DXVECTOR4(red, green, blue, alpha);
	return;
}

void LightClass::SetDirection(float x, float y, float z)
{
	m_direction = D3DXVECTOR4(x, y, z, 0);
	return;
}

void LightClass::SetPosition(float x, float y, float z)
{
	m_position = D3DXVECTOR4(x, y, z, 0);
	return;
}

const D3DXVECTOR4& LightClass::GetDiffuseColor() const
{
	return m_diffuseColor;
}


const D3DXVECTOR4& LightClass::GetDirection() const
{
	return m_direction;
}

const D3DXVECTOR4& LightClass::GetAmbientColor() const
{
	return m_ambientColor;
}


const D3DXVECTOR4& LightClass::GetPosition() const
{
	return m_position;
}